package com.info.zhiduoduo.repository.entity.maker;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 创客提现
 * </p>
 *
 * @author bob
 * @since 2018-12-23
 */
@Data
@Accessors(chain = true)
@TableName("zdd_maker_withdraw")
public class MakerWithdraw extends Model<MakerWithdraw> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "wdid", type = IdType.AUTO)
    private Integer wdid;
    private Integer userid;
    /**
     * 提现金额
     */
    @TableField("withdraw_amount")
    private BigDecimal withdrawAmount;
    /**
     * 提现备注
     */
    @TableField("withdraw_memo")
    private String withdrawMemo;
    /**
     * 1申请中 2成功3失败 
     */
    private Integer state;
    private Date createtime;


    @Override
    protected Serializable pkVal() {
        return this.wdid;
    }

}
